﻿<Window x:Class="ELearning.Wpf.UI.wndTestViewer"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="wndTestViewer" Height="272" Width="582" ResizeMode="NoResize" WindowStartupLocation="CenterScreen">
    <Grid>
        <ListBox Height="129" HorizontalAlignment="Left" Margin="22,58,0,0" Name="lbAnswers" VerticalAlignment="Top" Width="511" ItemsSource="{Binding}">
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <Grid Width="470" >
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="20"/>
                            <ColumnDefinition Width="450"/>
                            
                        </Grid.ColumnDefinitions>
                        <CheckBox Width="200" Margin="0, 5,0,0" Grid.Column="0" IsChecked="{Binding IsChecked}"></CheckBox>
                        <TextBox  Margin="0, 5,0,0" Grid.Column="1" Text="{Binding Text, Mode=TwoWay}" />
                        

                    </Grid>
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>

        <Label Content="Label" Height="52" HorizontalAlignment="Left" Margin="22,0,0,0" Name="lbQuestionText" VerticalAlignment="Top" Width="511" />
        <Button Content="Наступне питання" Height="23" HorizontalAlignment="Left" Margin="420,193,0,0" Name="btNext" VerticalAlignment="Top" Width="113" Click="btNext_Click" />
        <Label Content="2/21" Height="28" HorizontalAlignment="Left" Margin="22,193,0,0" Name="lbCounter" VerticalAlignment="Top" />
    </Grid>
</Window>
